Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sending email for notify reward amount #99

Merged
merged 5 commits into from
Jul 2, 2024

Conversation

ae2079
Copy link
Contributor

@ae2079 ae2079 commented Jun 18, 2024

Add fields for the notify reward amount notification from giv-token-contracts service
related to: Giveth/giveth-dapps-v2#4194


const NotifyRewardAmountNotificationType = [
{
name: NOTIFICATION_TYPE_NAMES.NOTIFY_REWARD_AMOUNT,
Copy link
Contributor Author

@ae2079 ae2079 Jun 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mohammadranjbarz
I ran the migration and these fields are set successfully, but I am not sure about the correctness of their values and I don't know if I should put other fields too, or not

Copy link
Contributor

@mohammadranjbarz mohammadranjbarz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ae2079, LGTM (we can merge it once we can test it together after deployment)

Copy link
Collaborator

@RamRamez RamRamez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ae2079 You need to add notifyRewardAmount to SEGMENT_METADATA_SCHEMA_VALIDATOR to make it work.

@ae2079
Copy link
Contributor Author

ae2079 commented Jul 2, 2024

@ae2079 You need to add notifyRewardAmount to SEGMENT_METADATA_SCHEMA_VALIDATOR to make it work.

Done, thank you Ramin

Copy link
Collaborator

@RamRamez RamRamez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ae2079

@mohammadranjbarz mohammadranjbarz merged commit 8087902 into staging Jul 2, 2024
3 checks passed
@mohammadranjbarz mohammadranjbarz deleted the 4194-sending-email-for-givpower branch July 2, 2024 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants